import request from '../utils/request'

// 员工总数据列表
export const employeeAll = () => {
  return request.get('/employee/all')
}

// 员工模糊查询
export const employeeCheck = (data) => {
  return request.post('/employee/like', data)
}

// 员工添加
export const employeeAdd = (data) => {
  return request.post('/employee/add', data)
}

// 员工修改
export const employeeEdit = (data) => {
  return request.put('/employee/edit', data)
}

// 员工辞退
export const employeelot = (data) => {
  return request.put('/employee/lot', data)
}
